package com.pjb.springbootjjwt.store.storage;

import com.pjb.springbootjjwt.store.entity.Line;
import com.pjb.springbootjjwt.store.entity.Record;

import java.util.List;

public interface Handler {

    void crateTable(String table, String ddl) throws Exception;

    void dropTable(String table) throws Exception;

    void delete(String table, List<Line> list, List<Line> sub) throws Exception;

    Record get(String table) throws Exception;

    void saveList(String table, List<Line> list) throws Exception;
}
